#include("./_inc/_loginlayout.html")
#@layout("集成问答登录",null,null,"jie")
#define content()
<div class="container container-custom" style="margin-top: 10px">
  <div class="row ">
    <div class="login-banner col-sm-1 col-md-1 col-lg-1 hidden-xs" ></div>
    <div class="login-banner col-sm-6 col-md-6 col-lg-6 hidden-xs" style="width:46%" >
      <a href="/" target="_blank">
        <img src="/static/images/right/ctsi_login.jpg" title="" alt="" border="0" height="500" width="506">
      </a>
    </div>
    <div class="login-user col-xs-4 col-sm-4 col-md-4 col-lg-4 js_login_user" >
      <div class="fly-panel fly-panel-user" style="border:2px solid #d5dce5;border-bottom-width: 0;border-radius: 2px">
        <div class=" fly-panel-user" pad20>
          <div class="layui-tab layui-tab-brief" lay-filter="user">
            <ul class="layui-tab-title">
              <li class="layui-this">账号登录</li>
            </ul>
            <div class="layui-form layui-tab-content" id="LAY_ucm" style="padding:10px 10px 0 10px;">
              <div class="layui-tab-item layui-show">
                <div class="layui-form layui-form-pane" style="margin-left:20px;">
                  <form method="post" action="/doLogin">

                    <div class="layui-form-item">
                      #(message ??)
                    </div>

                    <div class="layui-form-item">
                      <div class="layui-input-inline w_size">
                        <input type="text" id="L_email" name="email" required lay-verify="required" autocomplete="off" class="layui-input">
                      </div>
                    </div>
                    <div class="layui-form-item">
                      <div class="layui-input-inline w_size">
                        <input type="password" id="L_pass" name="password" required lay-verify="required" autocomplete="off" class="layui-input">
                      </div>
                    </div>
                    <div class="layui-form-item"  style="margin-bottom: 0">
                      <!--<label for="L_vercode" class="layui-form-label">验证码</label>-->
                      <div class="layui-input-inline w_size">
                        <input type="text" id="L_vercode" name="vercode" required lay-verify="required"
                               placeholder="请输入验证码" autocomplete="off" class="layui-input">
                      </div>
                      <div class="layui-form-mid" style="position: absolute;left:254px;">
                        <span style="color: #c00;"><img src="/captcha" style="width: 80px;height: 25px" onclick="javascript:this.src='/captcha?'+Math.random()"></span>
                      </div>
                    </div>
                    <div class="layui-form-item">
                      <span style="text-align: right;display:block;margin-bottom: 15px;padding-right:18px">
                          <a href="/getpwd">忘记密码？</a>
                      </span>
                      <button class="layui-btn"  lay-submit style="width: 94%;">立即登录</button>
                    </div>
                  </form>
                </div>
              </div>
            </div>
            <div class="code-support">
              <div class="line"></div>
              <div class="third-part tracking-ad" data-mod="popu_27">
                  <span style="width: 257px;">第三方帐号登录</span>
                  <span><font color="red">  </font></span>
                  <a id="qqAuthorizationUrl" href="" class="qq"></a>
                  <a id="osChinaAuthorizationUrl" href="" class="cc" ></a>
                  <a id="githubAuthorizationUrl" href="" class="github" target="_blank"></a>
              </div>
            <ul class="layui-tab-title" style="margin-left: 16px;margin-top:14px">
              <li><span style="float: left">还没有问答帐号？</span></span><a href="/register">立即注册</a></li>
            </ul>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
#end
#define script()
#end
  <script>
    $(".layui-nav-item").click(function(){
        $("#fly-header").attr("display","none");
    })
  </script>
<style>
  @media (min-width: 1200px){
    .container-custom {
      width: 960px;
    }
  }
  @media (min-width: 1200px){
    .container {
      width: 1170px;
    }
  }
  .w_size{ width: 94%!important;}

  .layui-this:after{ border-bottom:0 none!important; }
  .third-part span {
    display: block;
    font-size: 1.083em;
    color: #666;
    margin-bottom: 11px;
  }
  .third-part {
    padding: 20px 52px 35px 30px;
  }
  .third-part .qq, .third-part .google, .third-part .cc, .third-part .github, .third-part .wechat, .third-part .OSC, .third-part .show_more {
    display: inline-block;
    background-image: url(./../../static/images/right/login-third-party-new.png);
    background-repeat: no-repeat;
    margin-right: 5px;
    width: 32px;
    height: 32px;
  }
  .third-part .qq {
    background-position: 0 0;
  }
  .third-part .sina {
    background-position: -74px 0;
  }
  .third-part .baidu {
    background-position: -112px 0;
  }
  .third-part .cc {
    background-position: -150px 0;
  }
  .third-part .github {
    background-position: -187px 0;
  }
</style>